import request from '@/config/axios'

//获得 OAuth2 客户端
export const clientGet = async () => {
  return await request.get({
    url: '/system/oauth2-client/getDefaultConfig'
  })
}

// 更新 OAuth2 客户端
export const clientUpdate = async (data) => {
  return await request.put({
    url: '/system/oauth2-client/update',
    data
  })
}
